﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ApprovalFlow.Models
{
    public abstract class StepDescription : IStepDescription
    {
        public string Id { get; set; } = Guid.NewGuid().ToString();
        public string Name { get; set; }
        public string Properties { get; set; }
        public IStepDescription ChildNode { get; set; }
        public string Type { get; set; }

        public abstract IEnumerable<ExecutionPointer> Builder(WorkflowInstance instance, ExecutionPointer master);
    }
}
